package com.jike.mahjong.service;

import com.jike.mahjong.common.Page;
import com.jike.mahjong.model.CronJob;
import com.jike.mahjong.model.MessageModel;
import com.jike.mahjong.model.Version;
import org.quartz.SchedulerException;

import java.util.Map;

/**
 * Created by star on 2016/10/14.
 */
public interface JobService {

    public Page queryJobMessageInfo(Map<String, Object> para, Page page);

    public Integer insertMessageJob(CronJob job);

    public void changeStatus(Long jobId, String cmd) throws SchedulerException;

   public Integer deleteMessageJob(Long jobId) throws SchedulerException;

    /* public Integer updateVersionInfo(Version vo);

    public Version queryVersionInfo(Map<String, Object> para);


    public void sendMsg(String content, int frequency) throws NoSuchFieldException, IllegalAccessException;

    public void stopMsg();*/
}
